package com.pdsu.xpf.graduation01.service;

import com.pdsu.xpf.graduation01.dto.OrderDTO;
import com.pdsu.xpf.graduation01.vo.OrderVO;

import java.util.List;

public interface IOrderService {



    Integer createOrder(int uid, int cid, String cname, int cnumber, String image, String orderNumberByTime);

    List<OrderDTO> getOrderDTOListByOrderUID(int  uid);
    List<OrderVO> findAllOrderVO();

    int delOrderByOID(int oid);

    List<OrderVO> searchOrderByKey(String key);

    Integer updateOrderStateByOrderNumber(String order_number);
}
